<%@page import="sedev.shopping.util.SedevUtil"%>
<%@ include file="/init.jsp" %>

<div id="horizmenu-surround">
    <ul class="menutop level1">
    	<li class="parent root">
            <a class="item" href="<s:url action="product"></s:url>">
                <span><liferay-ui:message key="label-product" /></span>
            </a>            
        </li>        
        <li class="parent root">
            <a class="item" href="<s:url action="productType"></s:url>">
                <span><liferay-ui:message key="label-product-type" /></span>
            </a>
        </li>        
		<!-- 
		<li class="parent root">
            <a class="item" href="<s:url action="comment"></s:url>">
                <span><liferay-ui:message key="label-comment" /></span>
            </a>            
        </li>
        -->
        <% if(SedevUtil.isOwner(request)){ %>
        <li class="parent root">
        	<a class="item" href='<s:url action="infoShop"></s:url>'>
        		<span><liferay-ui:message key="label-info-shop" /></span>
        	</a>
        </li>
        <%}%>        
        <% if(renderRequest.isUserInRole("administrator")){%>
       	<li class="parent root">
           <a class="daddy item" href="javascript:void(0)">
               <span><liferay-ui:message key="label-setting" /></span>
           </a>
           <ul class="level2">
           		<li class="parent">
	       			<a class="item" href='<s:url action="productGroup"></s:url>'>
	       				<span><liferay-ui:message key="label-product-group" /></span>
	       			</a>
	       		</li>
	       		<li class="parent">
	       			<a class="item" href='<s:url action="currency"></s:url>'>
	       				<span><liferay-ui:message key="label-currency" /></span>
	       			</a>
	       		</li>
	       		<li class="parent">
	       			<a class="item" href='<s:url action="businessType"></s:url>'>
	       				<span><liferay-ui:message key="label-business-type" /></span>
	       			</a>
	       		</li>
	       	</ul>
        </li>
        <%}%>
        
        <li class="parent root">
        	<a class="item" href='<s:url action="index"></s:url>'>
        		<span><liferay-ui:message key="label-goback" /></span>
        	</a>        	
        </li>
    </ul>
</div>
<div class="clr"></div>